Professional Documents
Culture Documents
Cal1 211 cc15 Group 5 Bai Tap Lon Giai Tich 1
Cal1 211 cc15 Group 5 Bai Tap Lon Giai Tich 1
giải tích 1 (Trường Đại học Công nghệ Thành phố Hồ Chí Minh)
PROJECT REPORT
CLASS:
MT1003_CALCULUS 1
− Teacher: Dr. Phan Thành An
− Assistant teacher: Ms. Vũ Thanh Châu
Members:
Page | 0
TABLE OF CONTENTS
REFERENCES .............................................................................................................. 28
Page | 1
TOPIC: Car tires need to be inflated properly because overinflation or underinflation can
cause premature treadware. The data in the table show tire life �㔿 (in thousands of miles) for a
certain type of tire at various pressures Ā (in lb/in2).
�㕷 26 28 31 35 38 42 45
�㕳 50 66 78 81 74 70 59
a) Use a graphing calculator or computer to model tire life with a quadratic function of the
pressure.
b) Use the model to estimate Ă�㔿/ĂĀ when Ā = 30 and when Ā = 40. What is the meaning
of derivative? What are the units? What is the significance of the signs of the derivative?
I. Theories summary:
− Definition of Tangentsa:
The tangent line to ÿ = Ą(þ) at (ÿ, Ą(ÿ)) is the line through (ÿ, Ą(ÿ)) whose slope is equal
to Ą9(ÿ), the derivative of Ą at ÿ:
ÿ 2 Ą(ÿ) = Ą9(ÿ)(þ 2 ÿ)
�㕑
(ā ) = 0
�㕑ý
�㕑
(þ �㕛 ) = ÿþ �㕛−1
�㕑ý
�㕑 �㕑 �㕑
[Ą (þ) + ą(þ)] = Ą (þ ) + ą(þ)
�㕑ý �㕑ý �㕑ý
Page | 2
o It is called decreasing on I if
For the reason that the data table is given with scattered values, it requires higher
mathematics method to find a second-degree polynomial of the pressure (which specifically
is <Non-linear least squares regression=) that neither be taught nor introduced in our
curriculum. Therefore, it would be better to reach for a technical approach towards this
problem.
The manual solution for exercise 50a below will use <Desmos= application as a
supporter to find the equation for the quadratic function.
− Step 1: Click the <+= sign then choose the (table) symbol
Page | 3
− Step 3: Enter to type the function ÿ2 ~ÿþ12 + Āþ1 + ā, the results is shown below with
both of its graph and value of the unknowns ÿ, Ā and ā
→ Result:
o When Ā = 30:
o When Ā = 40:
Page | 4
− The meaning of the derivative is that it is the instantaneous rate of change of tire life �㔿
with respect to pressure Ā.
�㕙�㕏
− The units are (þ/ĀÿýÿÿĂý ĀĄ þÿýăý) for �㔿 and ( ) for Ā.
ÿ�㕛2
In the reporting section 3.1, exercise 50, the methods are used to estimate value at
given points, to know whether a variable is increasing or decreasing during the general trend.
− Step 2: Use 8syms9 function to create symbolic function. We use 8quadr9 to express
the quadratic function
syms quadr
Page | 5
− Step 3: Use the 8fit9 function to fit a polynomial to data. Specify a quadratic with the
string 'poly2'
quadr=fit(P,L,'poly2');
− Step 4: Run the codes to save variables in Workspace:
→ Result:
− Step 5: To view details of the function, type 8quadr9 in the Command Window
Page | 6
x2=40;
− Step 2: Use 8subs9 function to substitute respectively þ1 and þ2 into Ą(þ) to find ÿ1
and ÿ2
y1=subs(f,x,x1);
y2=subs(f,x,x2);
Page | 7
Page | 8
4. Run codes:
→ Result:
Page | 9
22.282.
Page | 10
Matlab has showed us itself as a functional program to help users carry out science
problems in general and mathematical problems in practical by using an effective and
appealing approach. Matlab provides with many of its amazing features so that we not only
can see an issue solved in a technical way, in which Matlab is a coding program, but also
observe it in two-dimension and three-dimension, support to an extent amount for engineers,
scientists and researchers. There is a benefit of saving time in terms of using Matlab as it
allows users to use the same code in order to answer different problems using same methods
of calculating, makes the work of analyzing data less heavy and time-consuming.
Although Matlab includes a great number of functions, there are existing troubles
while doing this experiment as a beginner in this coding program. It is seem to cost less effort
in the this case when we solve the exercise manually, however, there is a capability that the
codes above is not at its best operation and yet Matlab stays a good impression in presenting
data with graphs in spite of its slightly complicated coding progress.
Page | 11
TOPIC:
Find an equation of the tangent line to this curve at the point (1;2)
b) Illustrate part (a) by graphing the curve and the tangent line on a common screen.
I. Theories summary:
�㕑þ
þ= (þ = ÿ) is the slope of the tangent line at þ = ÿ.g
�㕑ý
ÿ 2 Ā = þ × ( þ 2 ÿ)
�㕑(ý �㕛 )
= ÿ × þ �㕛−1
�㕑ý
− Differentiation formulash
(Ą – ą)′ = Ą′ – ą′
(ā × Ą )′ = ā × Ą ′
h(x) = f(g(x))
Page | 12
�㕑 �㕑
(ÿ 2 ) = (5þ 4 2 þ 2 )
�㕑ý �㕑ý
�㕑 �㕑 �㕑
(2ÿ) × (ÿ ) = 5 (þ 4 ) 2 (þ 2 )
�㕑ý �㕑ý �㕑ý
(2ÿ) × ÿ ′ = 5 × 4þ 3 2 2þ
10 × (1)3 9
ÿ ′ (1; 2) = =
2 2
9
ÿ22= × (þ 2 1)
2
9 5
ÿ= þ2
2 2
With regarding to exercise 33 in Section 3.5, it9s not easy to solve equation for
explicitly as a function of by hand. Fortunately, we don9t need to solve an equation for in
terms of in order to find the derivative of k . Instead we can use the method of implicit
Page | 13
differentiation. This consists of differentiating both sides of the equation with respect to þ
and then solving the resulting equation for ÿ9.
F = y2
G = 5x4 - x2
− Step 3: Find the slope þ the tangent line to the curve with equation ÿ 2 = 5 × þ 4 2
þ 2 by the differentiate both sides and then take the right-hand side divide the left-
hand side.
Use the function 8diff9.
− Step 4: Find the equation of the tangent line to the curve at the point (1; 2).
Page | 14
Use the function 8subs(s, old, new)’ to substitute þ = 1 and ÿ = 2 to the slope
þ.
→ Result:
Graphing the curve with equation þ�㗐 = Ā × ýÿ 2 ý�㗐 and tangent line to this
curve at the point (1;2)
− Step 1: Create figure window by the
function 8figure’.
− Step 5: Input the function of the tangent line ÿ1 that we have found before.
9 5
− Step 6: Plot the tangent line y1 = x 2
2 2
Page | 15
→ Result:
Learning Matlab is accessible whether you are a novice or an expert, which may make us to
spend time searching the code that we need and understanding its usage properly. The Help
Center is always available to guide you with robust documentation, community answers, and
how-to videos. Using Matlab helps us solve our mathematical problems more flexibly and
accurately. Especially, Matlab provides us with the best support for faster and better graphs
of the complex or implicit functions than sketching them by hand.
If we apply the proper and suitable code, the solution by code provides us the result of the
calculation faster and more accurate than the detailed solution that we do by ourselves.
Moreover, graphing the complicated functions correctly is absolutely possible if you we use
the code, which is quite difficult or may impossible for us to sketch it by hand. It is necessary
Page | 16
for engineers and students who are studying engineering to get acquaintance with using
coding program to solve the problems precisely.
Page | 17
a) Find the linearizations of f, g, and h at ÿ = 0. What do you notice? How do you explain
what happened?
b) Graph f, g, and h and their linear approximations. For which function is the linear
approximation best? For which is it worst? Explain.
I. Theories summary:
It might be easy to calculate a value Ą(ÿ) of a function, but difficult (or even
impossible) to compute nearby values of f. For example, the function ÿ = 8ý , it is easy to
compute ÿ for þ = 1, but impossible to calculate for nearby values at þ = 1.05 or þ = 0.97.
The tangent line at (ÿ, Ą(ÿ)) can be used to approximate the curve ÿ = Ą(þ) when þ
is near ÿ. An equation of this tangent line is
y = f(a) + f´(a)(x – a)
* Other theories used in this section for mathematical computation are the Derivative
rules and the Chain Rule:
Page | 18
− The Chain Rule states that: if g is differentiable at x and f is differentiable at g(x), then
the composite function F(x) = f(g(x)) is differentiable at þ and �㔹´ is given by the
product:
�㕑 �㕑 �㕑
[Ą (þ) + ą(þ)] = Ą (þ ) + ą (þ )
�㕑ý �㕑ý �㕑ý
�㕑 �㕑 �㕑
[Ą (þ) 2 ą(þ)] = Ą (þ ) 2 ą(þ)
�㕑ý �㕑ý �㕑ý
�㕑
(ă ý ) = ă ý
�㕑ý
�㕑 1 �㕑�㕢
(ýÿÿ) = .
�㕑ý �㕢 �㕑ý
The given problem asks us to find the tangent line function (linearization) of three
separate functions at ÿ = 0. Afterwards, find which linearization of their respective functions
best and least approximate them among the three.
This question is an example for the practical uses of linearization, that is to find values
of functions nearby a certain þ = ÿ.
− Firstly, we find the functions respective derivatives and then tangent lines:
o Ą´(þ) = ((þ – 1)2 )´ = 2(þ – 1)(þ – 1)´ (Power Rule and the Chain Rule)
Page | 19
= 22ă −2ý
(1−2ý)´
o /´(þ) = (1 + ýÿ(1 – 2þ))´ = 0 + (Sum Rule and the Chain Rule)
1−2ý
2
= 2
1 − 2ý
22
�㔿3 (þ) = Ą (0) + Ą´(0)(þ – 0) = (1 + ln(1 – 0)) + þ = 22þ + 1
120
− While working out the linearization, it is noticed that �㔿1 , �㔿2 and �㔿3 have the same
equation �㔿(þ) = 22þ + 1. It could be explained that the three functions Ą, ą, / have
the same slope þ = 22 and ÿ = 1 at þ = 0 . This explanation is reasonable
because
(b) The graph of Ą, ą and / and their linear approximations could be drawn roughly by
connecting each coordinate (þ, ÿ) of that function for an interval of 0.1 like in the table
below
Page | 20
− To find out which function is approximated the best and the worst by the linearization,
we have a look at the graph in the interval near þ = 0 such as (20.2, 0.2).
It is clear to see that �㔿(þ) approximates the best for Ą(þ) as the blue line is closer to
the red line than any other ones. For the same logic, �㔿(þ) approximates the worst for /(þ) as
the black line is farther from the red line than any other ones.
Page | 21
In which Ą9(ÿ) is the slope of the curve at ÿ = 0 and Ą(ÿ) is the curve ÿ-intercept. We
could find this using Matlab:
Ą(þ) = (þ – 1)2
ą(þ) = ă −2ý
Page | 22
As can be seen from the result of the running code, Ą, ą and / have the same slope
ÿā = 22 and ÿ0 = 1. That means they have the same linearization �㔿(þ) = 22þ + 1
Code details:
Page | 23
clc
clear
close all
x = (-1:0.000001:0);
f = (x – 1).^2;
g = exp(-2*x);
h = 1 + log(1 – 2*x);
L = -2*x + 1;
figure
hold on
plot(x, f, 8b-8)
plot(x, g, 8c-8)
plot(x, h, 8k-8)
plot(x, L, 8r-8)
grid on
→ Result:
Page | 25
It looks like �㔿(þ) approximate the best for Ą(þ) and the worst for ą(þ). We can confirm
this by comparing �㔿(þ0 ) and the true value of functions at þ0 . Let9s draw a table of value in
small interval (20.2; 0.2) to determine which one is �㔿(þ) the best and worst approximation
of.
The table confirms that �㔿(þ) approximates Ą(þ) the best within accuracy of 0.4 .
Meanwhile, the worst is /(þ) as the accuracy fluctuate within 0.11, the highest among other
functions.
It takes time to learn the necessary code for using Matlab properly. Once you have learnt
them all, Matlab becomes your best tool to graph all the function on the same plane faster
and far more accurate than doing it by hand. About comparing which one does �㔿(þ)
Page | 26
approximate more accurate or worse, Matlab provides us real values to determine rather than
using our own observation alone, which might be wrong.
Having some knowledge about the topic beforehand, it is faster to solve by hand rather
than code and use Matlab. Though for harder questions, Matlab proves to be better as it
computes faster than human with higher accuracy (provided that the code is right), as it is
insusceptible to human error. Furthermore, there are functions that are nearly impossible to
solve by hand without the help of a mathematical program. For future research about same
topic, we can reuse the same code rather than solving it again, which will save us lots of time
and efforts .Matlab is definitely the tool needed for further education and research.
Page | 27
REFERENCES:
a
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 2.7 page 143.
b
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.1 page 174.
c
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.1 page 176.
d
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 1.1 page 19.
e
https://byjus.com/maths/differentiation-rules/
f
https://www.tcd.ie/Economics/staff/ppwalsh/topic5.pdf
g
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 2.1 page 82.
h
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.2 page 189.
i
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.4 page 199.
j
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3 page 173
k
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.5 page 210.
l
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.1 page 177, 178.
m
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.1 page 180.
n
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.6 page 218.
o
James Stewart. (2010). Calculus Early Transcendentals. 7th edition. Cengage Learning. Chapter 3.10 page 252, 253.
Programs used: Matlab, Desmos
Page | 28