AP Calculus BC

độ dài bướcstep size

step sizeVietnamese: độ dài bước

Độ dài bước (step size) là khoảng cách ngang giữa hai giá trị x liên tiếp trong phương pháp Euler, cho biết ta đi dọc tiếp tuyến bao xa mỗi bước.Step size is the horizontal distance between consecutive x-values in Euler's method; it sets how far you move along the tangent line in each step.

Trực giác: Như đi trên đường cong trong sương mù, mỗi sải bạn đi thẳng theo hướng nhìn lúc đầu sải. Sải ngắn thì chỉnh hướng nhiều lần nên ít lệch.Intuition: Imagine walking along a curved path in thick fog: with each stride, you head straight in the direction you faced at the start of that stride. With short strides, you correct your direction more often and drift off the path less.

Công thức chínhKey formula

yn=yn−1+hF(xn−1,yn−1)y_n=y_{n-1}+hF(x_{n-1},y_{n-1})
Định nghĩa đầy đủFull definition1 phút đọc1 min read

Độ dài bước hh là lượng ta cộng vào xx sau mỗi bước của phương pháp Euler. Bài toán có dạng y′=F(x,y)y'=F(x,y), y(x0)=y0y(x_0)=y_0, với F(x,y)F(x,y) là vế phải của phương trình. Ta đi từ x0x_0 đến x=bx=b trong NN bước, nên h=b−x0Nh=\dfrac{b-x_0}{N}. Sau bước thứ nn, ta được điểm (xn;yn)(x_n;y_n).

Ví dụ: với y′=x+yy'=x+y, y(0)=1y(0)=1 và h=0,1h=0{,}1, sau bước đầu ta có x1=0,1x_1=0{,}1 và y1=1+0,1⋅(0+1)=1,1y_1=1+0{,}1\cdot(0+1)=1{,}1. Mỗi bước chỉ dùng hệ số góc tại đầu bước. Vì vậy hh càng nhỏ thì xấp xỉ thường càng sát nghiệm thật, nhưng phải tính nhiều bước hơn.

Step size hh is the amount added to xx at each step of Euler's method. The problem has the form y′=F(x,y)y'=F(x,y), y(x0)=y0y(x_0)=y_0, where F(x,y)F(x,y) is the right-hand side of the differential equation. To go from x0x_0 to x=bx=b in NN steps, use h=b−x0Nh=\dfrac{b-x_0}{N}. After step nn, you arrive at the point (xn;yn)(x_n;y_n).

Example: for y′=x+yy'=x+y, y(0)=1y(0)=1, and h=0.1h=0.1, the first step gives x1=0.1x_1=0.1 and y1=1+0.1⋅(0+1)=1.1y_1=1+0.1\cdot(0+1)=1.1. Each step uses only the slope at the start of the step, so a smaller hh usually gives an approximation closer to the true solution, but it requires more steps.

Ký hiệuNotation
  • •hh là độ dài bước
  • •xn+1=xn+hx_{n+1}=x_n+h
  • •yn+1=yn+h F(xn,yn)y_{n+1}=y_n+h\,F(x_n,y_n)
  • •khi chia [a,b][a,b] thành NN bước đều nhau thì h=b−aNh=\dfrac{b-a}{N}.
Công thức chi tiếtFormula details3 công thức3 formulas
yn=yn−1+hF(xn−1,yn−1)y_n=\htmlClass{fp-3}{\htmlClass{fp-2}{y_{n-1}}+\htmlClass{fp-1}{h\htmlClass{fp-0}{F(x_{n-1},y_{n-1})}}}

Dùng để tính yy mới: lấy hệ số góc tại điểm trước, nhân với độ dài bước hh, rồi cộng vào yy cũ.Use this to find the new yy: take the slope at the previous point, multiply it by the step size hh, and add the result to the old yy.

Trong đóWhere

hhđộ dài bước, tức khoảng cách ngang giữa hai giá trị xx liên tiếpF(x,y)F(x,y)vế phải của phương trình vi phân y′=F(x,y)y'=F(x,y), cho độ dốc tại điểm (x,y)(x,y)(xn−1,yn−1)(x_{n-1},y_{n-1})điểm đã tính ở bước trướcyny_nước lượng của y(xn)y(x_n) ở bước hiện tại
xn=xn−1+hx_n=x_{n-1}+h

Dùng để tính hoành độ mới sau mỗi bước; các điểm cách đều nhau và xn=x0+nhx_n=x_0+nh.Use this to find the new x-coordinate after each step; the points are evenly spaced, and xn=x0+nhx_n=x_0+nh.

Trong đóWhere

xnx_nhoành độ ở bước thứ nnhhđộ dài bước
h=b−x0Nh=\dfrac{b-x_0}{N}

Dùng khi cần ước lượng y(b)y(b) bằng NN bước đều: hh bằng khoảng cần đi chia cho số bước.Use this when you want to estimate y(b)y(b) with NN equal steps: hh is the total distance to cover divided by the number of steps.

Trong đóWhere

bbgiá trị xx cần ước lượng nghiệmx0x_0giá trị xx ban đầuNNsố bước
Hay hiểu saiCommon misconceptions3 ý · 1 phút đọc3 points · 1 min read

Độ dài bước không phải số bước.

Số bước bằng (điểm cuối − điểm đầu)/hh. Chẳng hạn đi từ x=1x=1 đến x=2x=2 với h=0,5h=0{,}5 cần 2 bước. Hãy tính số bước trước khi lập bảng.

Mỗi bước phải cộng hh vào xx, không chỉ cập nhật yy.

Công thức của yy chỉ cập nhật yy; xk+1=xk+hx_{k+1}=x_k+h phải viết riêng. Quên bước này thì F(x,y)F(x,y) dùng mãi x0x_0 và kết quả sai từ bước thứ hai.

Bước nhỏ không biến kết quả Euler thành giá trị chính xác.

Euler là xấp xỉ tuyến tính từng đoạn nên vẫn còn sai số. Bước nhỏ chỉ làm xấp xỉ thường sát hơn; kết quả vẫn viết với dấu ≈\approx.

Step size is not the number of steps.

The number of steps equals (endpoint − starting point)/hh. For example, going from x=1x=1 to x=2x=2 with h=0.5h=0.5 takes 2 steps, so find the number of steps before you build the table.

Each step must add hh to xx, not just update yy.

The formula for yy updates only yy, so xk+1=xk+hx_{k+1}=x_k+h must be written separately. If you skip it, F(x,y)F(x,y) keeps using x0x_0, and the results are wrong from the second step on.

A small step size does not make Euler's method exact.

Euler's method is a piecewise linear approximation, so some error always remains. A smaller step usually just brings the approximation closer, and the result should still be written with ≈\approx.

Mẹo phòng thiExam tips2 mẹo2 tips

Trước khi tính, hãy ghi ra hh và số bước.

Ví dụ đi từ x=1x=1 đến x=1,5x=1{,}5 với h=0,25h=0{,}25 thì cần hai bước. Ghi trước giúp bảng không thiếu hay thừa dòng.

Đề yêu cầu đi sang trái thì dùng hh âm.

Khi đó xx giảm sau mỗi bước. Ví dụ đi từ x=2x=2 về x=1x=1 bằng 2 bước thì h=−0,5h=-0{,}5.

Write down hh and the number of steps before you calculate.

For example, going from x=1x=1 to x=1.5x=1.5 with h=0.25h=0.25 takes two steps. Doing this first keeps your table from having missing or extra rows.

Use a negative hh when the problem asks you to move to the left.

In that case, xx decreases at each step. For example, going from x=2x=2 to x=1x=1 in 2 steps gives h=−0.5h=-0.5.

Tần suất trong đề AP Calculus BCHow often it shows up on AP Calculus BCThường xuyênVery common

Bạn nắm chắc chưa?Check your understanding

Quiz câu thật từ ngân hàng đềReal exam questions from our question bank

Vài câu thật gắn đúng khái niệm này, chấm ngay kèm giải thích từng đáp án — hệ thống ghi nhớ bạn nắm tới đâu.A few real questions on exactly this concept, graded instantly with an explanation for every choice — the system remembers how well you know it.

Tạo tài khoảnCreate an account

Học tiếp từ đâyKeep learning

Bài học chứa thuật ngữ nàyLesson that uses this termXấp xỉ nghiệm bằng phương pháp EulerPhương trình vi phân · khoácourse AP Calculus BC
Bài học chứa thuật ngữ nàyLesson that uses this termVẽ trường hệ số góc (slope field)Phương trình vi phân · khoácourse AP Calculus BC
Bài học chứa thuật ngữ nàyLesson that uses this termMô hình hóa tình huống bằng phương trình vi phânPhương trình vi phân · khoácourse AP Calculus BC
Mục tiêu và lộ trình unit ai cũng xem được — làm bài tập và lưu tiến độ thì cần đăng nhập.Anyone can view a unit's goals and roadmap — sign in to do the exercises and save your progress.

Hay nhầm vớiOften confused with

vi phândifferential
Khác nhau ở đâuHow they differĐộ dài bước Δx\Delta x là một số hữu hạn do ta chọn cho từng bước tính. Vi phân dxdx là đại lượng vô cùng bé dùng trong xấp xỉ tuyến tính.
Hay nhầm khiMixed up whenKhi đề cho Δx=0,5\Delta x=0{,}5 trong phương pháp Euler, ta cộng cố định 0,50{,}5 vào xx ở mỗi bước. Đừng coi nó là dxdx trong công thức dy=f′(x) dxdy=f'(x)\,dx.

Cùng chủ đềSame topic

Nguồn tham khảoReferences

  1. [1]Stewart. tr. 627–628, 630.

Biên soạn bởi DucklingStudy, bản quyền thuộc DucklingStudy.Written by DucklingStudy. © DucklingStudy. Xuất bảnPublished .