Skip to content

Commit 55d7281

Browse files
author
aryan
committed
Added some content
1 parent 02e5d47 commit 55d7281

29 files changed

Lines changed: 2230 additions & 687 deletions
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
---
2+
title: Calculating a Derivative by Definition
3+
description: Suppose \$ f(x) = ax^2 + bx + c \$ (you can set \$ a=1, b=0, c=0 \$ for \$ f(x) = x^2 \$, but we’ll keep it general). $$ f(x + h) = a(x + h)^2 + b(x + h) + c = a(x^2 + 2xh + h^2) + b(x + h) + c $$ $$ = ax^2 + 2axh + ah^2 + bx + bh + c $$ $$ f(x) = ax^2 + bx + c $$
4+
tags:
5+
- mathematics
6+
categories:
7+
- graded assignment
8+
image: /images/tree.jpg
9+
excludeSearch: false
10+
width: wide
11+
---
12+
13+
## **Step-by-Step: Calculating a Derivative by Definition**
14+
15+
Let’s use the **four-step process** for finding the derivative of a simple quadratic function, as this approach is both fundamental and widely used in calculus[^3][^4]. For this example, let’s use a general quadratic function, but if you want a specific example from the PDF, we’ll use the quadratic function \$ f(x) = x^2 \$ (which is used in the context of quadratic functions[^1]).
16+
17+
However, the PDF also discusses the slope of a quadratic function \$ f(x) = ax^2 + bx + c \$, mentioning that the slope at any point is \$ 2ax + b \$. Let’s see how this is derived using the definition.
18+
19+
---
20+
21+
### **Step 1: Write \$ f(x + h) \$ and \$ f(x) \$**
22+
23+
Suppose \$ f(x) = ax^2 + bx + c \$ (you can set \$ a=1, b=0, c=0 \$ for \$ f(x) = x^2 \$, but we’ll keep it general).
24+
25+
$$
26+
f(x + h) = a(x + h)^2 + b(x + h) + c = a(x^2 + 2xh + h^2) + b(x + h) + c
27+
$$
28+
29+
$$
30+
= ax^2 + 2axh + ah^2 + bx + bh + c
31+
$$
32+
33+
$$
34+
f(x) = ax^2 + bx + c
35+
$$
36+
37+
---
38+
39+
### **Step 2: Compute \$ f(x + h) - f(x) \$**
40+
41+
Subtract \$ f(x) \$ from \$ f(x + h) \$:
42+
43+
$$
44+
f(x + h) - f(x) = (ax^2 + 2axh + ah^2 + bx + bh + c) - (ax^2 + bx + c)
45+
$$
46+
47+
$$
48+
= 2axh + ah^2 + bh
49+
$$
50+
51+
$$
52+
= h(2ax + ah + b)
53+
$$
54+
55+
---
56+
57+
### **Step 3: Divide by \$ h \$**
58+
59+
$$
60+
\frac{f(x + h) - f(x)}{h} = \frac{h(2ax + ah + b)}{h} = 2ax + ah + b
61+
$$
62+
63+
---
64+
65+
### **Step 4: Take the limit as \$ h \to 0 \$**
66+
67+
$$
68+
f'(x) = \lim_{h \to 0} (2ax + ah + b) = 2ax + b
69+
$$
70+
71+
---
72+
73+
## **Summary Table**
74+
75+
| Step | Action | Expression/Result |
76+
| :-- | :-- | :-- |
77+
| 1 | Write \$ f(x + h) \$, \$ f(x) \$ | \$ f(x+h) = a(x+h)^2 + ··· \$ |
78+
| 2 | Subtract \$ f(x) \$ from \$ f(x+h) \$ | \$ h(2ax + ah + b) \$ |
79+
| 3 | Divide by \$ h \$ | \$ 2ax + ah + b \$ |
80+
| 4 | Take the limit \$ h \to 0 \$ | \$ 2ax + b \$ |
81+
82+
83+
---
84+
85+
## **Example from the PDF**
86+
87+
The PDF states (in Section 3.2):
88+
> “For the quadratic function described as \$ f(x) = ax^2 + bx + c \$ where \$ a \neq 0 \$, the slope of \$ f \$ at any given point \$ (x, f(x)) \$ is \$ (2ax + b) \$.”
89+
90+
This matches exactly the result we derived above using the definition of the derivative[^1].
91+
92+
---
93+
94+
## **Quick Example: \$ f(x) = x^2 \$**
95+
96+
Let’s do the calculation for \$ f(x) = x^2 \$:
97+
98+
1. **Step 1:**
99+
\$ f(x + h) = (x + h)^2 = x^2 + 2xh + h^2 \$
100+
\$ f(x) = x^2 \$
101+
2. **Step 2:**
102+
\$ f(x + h) - f(x) = 2xh + h^2 \$
103+
3. **Step 3:**
104+
\$ \frac{f(x + h) - f(x)}{h} = \frac{2xh + h^2}{h} = 2x + h \$
105+
4. **Step 4:**
106+
\$ \lim_{h \to 0} (2x + h) = 2x \$
107+
108+
So, the derivative of \$ f(x) = x^2 \$ is \$ f'(x) = 2x \$, which matches the general result above (with \$ a=1, b=0 \$)[^1][^3].
109+
110+
---
111+
112+
## **Related Question**
113+
114+
**Q:** What is the slope of the quadratic function \$ f(x) = 3x^2 + 4x + 1 \$ at \$ x = 2 \$?
115+
116+
**A:**
117+
Using the general result \$ f'(x) = 2ax + b \$,
118+
\$ a = 3, b = 4 \$, so
119+
\$ f'(x) = 6x + 4 \$.
120+
At \$ x = 2 \$:
121+
\$ f'(2) = 6 \times 2 + 4 = 16 \$.
122+
123+
---
124+
125+
## **Summary**
126+
127+
- **The derivative is the slope of the tangent to the curve at a point.**
128+
- **Use the four-step process:**
129+
130+
1. Write \$ f(x + h) \$ and \$ f(x) \$.
131+
2. Compute \$ f(x + h) - f(x) \$.
132+
3. Divide by \$ h \$.
133+
4. Take the limit as \$ h \to 0 \$.
134+
- **For quadratic functions, the derivative is \$ 2ax + b \$.**
135+
136+
This method works for any differentiable function, and the PDF confirms this for quadratic functions[^1][^3].
137+
138+
<div style="text-align: center">⁂</div>
139+
140+
[^1]: M1_VOL1_SETS-FUNCTIONS.pdf
141+
142+
[^2]: https://www.whitman.edu/mathematics/calculus/calculus_03_Rules_for_Finding_Derivatives.pdf
143+
144+
[^3]: https://math.wvu.edu/~hlai2/Teaching/Tip-Pdf/Tip1-5.pdf
145+
146+
[^4]: https://faculty.ung.edu/jallagan/Courses materials/Math 1450 Calculus 1/Syllabus and ebook/problems and solutions for calculus 1.pdf
147+
148+
[^5]: https://www2.math.binghamton.edu/lib/exe/fetch.php/people/mckenzie/derivative_sections_in_bittinger.pdf
149+
150+
[^6]: https://tutorial.math.lamar.edu/pdf/calculus_cheat_sheet_derivatives.pdf
151+
152+
[^7]: https://ocw.mit.edu/ans7870/textbooks/Strang/Edited/Calculus/2.1-2.4.pdf
153+
154+
[^8]: https://mathguy.us/Handbooks/CalculusHandbook.pdf
155+
156+
[^9]: https://people.math.wisc.edu/~angenent/Free-Lecture-Notes/free221.pdf
157+
158+
[^10]: https://www.scribd.com/document/598700870/Calculus-Book
159+

content/notes/blog/_index.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

content/notes/blog/article copy.md

Lines changed: 0 additions & 152 deletions
This file was deleted.

0 commit comments

Comments
 (0)