Hướng dẫn gõ công thức Toán trên diễn đàn

Tăng Hải Tuân

Well-Known Member
Administrator
Hướng dẫn gõ công thức Toán trên diễn đàn

Mọi công thức Toán đều được đặt trong cặp thẻ đô là và có cấu trúc như sau:
HTML:
$ mã công thức $
PHẦN I: CÁC MÃ CÔNG THỨC THƯỜNG DÙNG


PHẦN II: CÁC VÍ DỤ CƠ BẢN

1. Phân số

Mã:
$\dfrac{x+2007}{x+2008}$
Hiển thị: x+2007x+2008
HTML:
$\dfrac{x+2007}{x+2008}$
Hiển thị: x+2007x+2008


2. Chỉ số trên, chỉ số dưới dưới
HTML:
$a_i$
Hiển thị: ai
HTML:
$a^n$
Hiển thị: an
Kết hợp:
HTML:
$a^n_i$
Hiển thị: ain
Chỉ số trên dưới với nhiều kí tự:
HTML:
$a^{2007}$
Hiển thị: a2007
HTML:
$a_{20072008}$
Hiển thị: a20072008
HTML:
$a^{2007}_{2008}$
Hiển thị: a20082007
HTML:
$a_{1}^n+a_2^{n+1}+a_{3}^{n+2}+...+a_{n+1}^{2n}$
Hiển thị: a1n+a2n+1+a3n+2+...+an+12n

3. Căn, mũ
Căn bậc 2:
HTML:
$\sqrt{a}$
Hiển thị: a
HTML:
$\sqrt{2007}$
Hiển thị: 2007
Căn bậc n:
HTML:
$\sqrt[n]{A}$
Hiển thị: An
HTML:
$\sqrt[2007]{a}$
Hiển thị: a2007
Mũ:
HTML:
$a^n$
Hiển thị: an
Nhiều kí tự ở phần mũ:
HTML:
$a^{2007}$
Hiển thị: a2007
Kết hợp căn, mũ. . V. . V:
HTML:
$\sqrt[2007]{a^{2008}}$
Hiển thị: a20082007

4. Tổng sigma, tích
Tổng:
HTML:
$\sum_{i=1}^k a_i^n $
Hiển thị: i=1kain
Tích:
HTML:
$\prod_{i=1}^{n} a_u^k$
Hiển thị: i=1nauk

5. Tích phân
Mã:
Mã:
$\int\limits_{a}^{b}{f\left(x\right)dx}$
Hiển thị:
abf(x)dx

6. Kí hiệu hình học
Vuông góc
HTML:
$\perp $
Hiển thị:
Song song
HTML:
$\parallel $
Hiển thị:
Kí hiệu góc:
HTML:
$\widehat{ABC} $
Hiển thị: ABC^
 
Last edited:
Bổ sung một số lệnh Latex thông dụng:
Hệ phương trình:
HTML:
\[ \begin{cases} f(x)=0 \\ g(x)=0 \end{cases} \]
Hiển thị:
{f(x)=0g(x)=0
Dấu hoặc:
HTML:
\[ \left\{ \begin{array} x^2 + y^2 + z^2 = 3  \\
xy + yz + zx = 3  \\
xyz = 1
\end{array} \right.
...................
\left[ \begin{matrix} x^2 + y^2 + z^2 = 3  \\
xy + yz + zx = 3  \\
xyz = 1
\end{matrix} \right.\]
Hiển thị:
{2+y2+z2=3xy+yz+zx=3xyz=1...................[x2+y2+z2=3xy+yz+zx=3xyz=1
 
Mã:
Abcdef $ x=1 $ ghijk
Abcdef x=1 ghijk
Mã:
Abcdef \( x=1 \) ghijk
Abcdef x=1 ghijk
Mã:
Abcdef $$ x=1 $$ ghijk
Abcdef x=1 ghijk
Mã:
Abcdef \[ x=1 \] ghijk
Abcdef x=1 ghijk
 
Mã:
Abcdef $ x=1 $ ghijk
Abcdef x=1 ghijk
Mã:
Abcdef \( x=1 \) ghijk
Abcdef x=1 ghijk
Mã:
Abcdef$$x=1$$ghijk
Abcdefx=1ghijk
Mã:
Abcdef $ x=1 $ ghijk
Abcdef x=1 ghijk
 
Solve y(x)=a+by(x)x. When x=0 : y=0. And a>0, b>0
The solution to the differential equation y(x)=a+bxy(x) with the initial condition y(0)=0 and given a>0,b>0 is:

y(x)=2πaebx22erf(2bx2)2b

Here, erf denotes the error function.
Full solution:
Certainly! To solve the differential equation y(x)=a+bxy(x) with the initial condition y(0)=0, and given a>0,b>0, we can follow these steps:


1. **Setting up the Equation:**
The given differential equation is a first-order linear ordinary differential equation:
y(x)=a+bxy(x)

2. **Rewriting in Standard Form:**
The standard form of a linear first-order differential equation is y+P(x)y=Q(x). Here, we can rearrange our equation to match this form:
y(x)bxy(x)=a

3. **Finding an Integrating Factor:**
The integrating factor for an equation of this form is eP(x)dx. In our case, P(x)=bx, so the integrating factor is:
μ(x)=ebxdx=ebx22

4. **Multiplying Through by the Integrating Factor:**
We multiply every term in the standard form equation by the integrating factor:
ebx22ybxebx22y=aebx22

5. **Recognizing the Left Side as a Derivative:**
The left-hand side of our equation is now the derivative of the product μ(x)y(x):
ddx(ebx22y)=aebx22

6. **Integrating Both Sides:**
We integrate both sides with respect to x:
ddx(ebx22y)dx=aebx22dx
ebx22y=aebx22dx

7. **Solving the Integral:**
The integral on the right side involves an exponential function of a quadratic, which is related to the error function erf(x):
aebx22dx=2πaerf(2bx2)2b+C

8. **Solving for y(x):**
Rearranging for y(x), we get:
y(x)=2πaerf(2bx2)2bebx22+Cebx22

9. **Applying the Initial Condition y(0)=0:**
When x=0, the error function erf(0) is zero, simplifying our equation. Applying the initial condition, we find:
0=Ce0
C=0

10. **Final Solution:**
With C=0, the solution is:
y(x)=2πaerf(2bx2)2bebx22

This is the complete solution to the given differential equation with the specified initial condition.
 

Quảng cáo

Back
Top