Calculus 1 : Functions

Study concepts, example questions & explanations for Calculus 1

varsity tutors app store varsity tutors android store

Example Questions

Example Question #111 : Differential Functions

The general Riemann Sum approximation of an integral  \displaystyle \int_a^b f(x)dx takes the form

\displaystyle \frac{b-a}{n}\sum_{i=1}^{n}f(x_i)

Where \displaystyle n is the number of points/subintervals, and each subinterval is of uniform width \displaystyle \frac{b-a}{n}.

Knowing this, imagine that the subintervals are not of uniform width.

Denoting a particular subinterval's width as \displaystyle I_i ,

the integral approximation becomes

\displaystyle \sum_{i=1}^{n}I_if(x_i)

Which of the following parameters would give the closest integral approximation of the function:

\displaystyle \int_{ln(\frac{\pi}{2})}^{ln(\pi)} sin(e^{x})dx ?

Possible Answers:

\displaystyle n=8,I_i>I_{i+1}

\displaystyle n=8,I_i< I_{i+1}

\displaystyle n=16,I_i< I_{i+1}

\displaystyle n=16,I_i>I_{i+1}

Correct answer:

\displaystyle n=16,I_i>I_{i+1}

Explanation:

The more points/intervals that are selected, the closer the Riemann sum approximation becomes to the actual integral value, so n=16 will give a closer approximation than n=8:

Reimannsumcomparison

Now, assuming the amount of points/intervals are fixed, but the actual widths can differ, it would be prudent to have narrower intervals at those regions where the graph is steepest. Relatively flatter regions of the function do not lead to the approximation overshooting or undershooting as much as the steeper areas, as can be seen in the above figure.

To determine how the widths of the intervals should change if they should, determine whether or not the function is getting steeper or flatter. The function will be getting steeper over an interval if the 1st and 2nd derivatives have the same sign over this interval.

The first derivative is the slope. The second derivative is the rate of change of the slope. If the rate of change has the same sign as the slope, it is pushing the absolute value of the slope away from 0. Since 0 indicates flatness, this means that the function is growing steeper. The opposite holds if the signs are opposite!

Considering the function \displaystyle f(x)=sin(e^{x}), take the first derivative:

\displaystyle d(sin(u))=cos(u)du

\displaystyle d(e^u)=e^udu

\displaystyle f'(x)=e^xcos(e^{x})

Over the interval \displaystyle x=[ln(\frac{\pi}{2}),ln(\pi)] this function is negative due to the cosine term. Now take the second derivative:

\displaystyle d(uv)=udv+vdu

\displaystyle f''(x)=e^xcos(e^{x})-e^{2x}sin(x)

This function is also negative over the interval \displaystyle x=[ln(\frac{\pi}{2}),ln(\pi)].

Since both derivatives share a sign, the function grows steeper over the specified interval. The subintervals should therefore get progressively narrower.

Example Question #111 : How To Find Midpoint Riemann Sums

The general Riemann Sum approximation of an integral  \displaystyle \int_a^b f(x)dx takes the form

\displaystyle \frac{b-a}{n}\sum_{i=1}^{n}f(x_i)

Where \displaystyle n is the number of points/subintervals, and each subinterval is of uniform width \displaystyle \frac{b-a}{n}.

Knowing this, imagine that the subintervals are not of uniform width.

Denoting a particular subinterval's width as \displaystyle I_i ,

the integral approximation becomes

\displaystyle \sum_{i=1}^{n}I_if(x_i)

Which of the following parameters would give the closest integral approximation of the function:

\displaystyle \int_{0}^{1} e^{x^2-4x+4} ?

Possible Answers:

\displaystyle n=8;I_i>I_{i+1}

\displaystyle n=16;I_i< I_{i+1}

\displaystyle n=8;I_i< I_{i+1}

\displaystyle n=16;I_i>I_{i+1}

Correct answer:

\displaystyle n=16;I_i< I_{i+1}

Explanation:

The more points/intervals that are selected, the closer the Riemann sum approximation becomes to the actual integral value, so \displaystyle n=16 will give a closer approximation than \displaystyle n=8:

Reimannsumcomparison

Now, assuming the amount of points/intervals are fixed, but the actual widths can differ, it would be prudent to have narrower intervals at those regions where the graph is steepest. Relatively flatter regions of the function do not lead to the approximation overshooting or undershooting as much as the steeper areas, as can be seen in the above figure.

To determine how the widths of the intervals should change if they should, determine whether or not the function is getting steeper or flatter. The function will be getting steeper over an interval if the 1st and 2nd derivatives have the same sign over this interval.

The first derivative is the slope. The second derivative is the rate of change of the slope. If the rate of change has the same sign as the slope, it is pushing the absolute value of the slope away from \displaystyle 0. Since \displaystyle 0 indicates flatness, this means that the function is growing steeper. The opposite holds if the signs are opposite!

Considering \displaystyle f(x)=e^{x^2-4x+4} find the first derivative:

\displaystyle d(e^u)=e^udu

\displaystyle f'(x)=(2x-4)e^{x^2-4x+4}

On the interval \displaystyle x=[0,1], the slope is negative due to the parenthetical term. Now, Consider the second derivative:

\displaystyle d(uv)=udv+vdu

\displaystyle f''(x)=2e^{x^2-4x+4}+(2x-4)^2e^{x^2-4x+4}

Since the parenthetical term is squared, on the interval \displaystyle x=[0,1], the second derivative is positive.

As the first and second derivatives have opposite signs, the function itself is flattening on the specified interval. The intervals should get progressively wider.

Example Question #112 : How To Find Midpoint Riemann Sums

The general Riemann Sum approximation of an integral  \displaystyle \int_a^b f(x)dx takes the form

\displaystyle \frac{b-a}{n}\sum_{i=1}^{n}f(x_i)

Where \displaystyle n is the number of points/subintervals, and each subinterval is of uniform width \displaystyle \frac{b-a}{n}.

Knowing this, imagine that the subintervals are not of uniform width.

Denoting a particular subinterval's width as \displaystyle I_i ,

the integral approximation becomes

\displaystyle \sum_{i=1}^{n}I_if(x_i)

Which of the following parameters would give the closest integral approximation of the function:

\displaystyle \int_2^4 2^{x^2-3x-4}dx ?

Possible Answers:

\displaystyle n=8;I_i< I_{i+1}

\displaystyle n=16;I_i< I_{i+1}

\displaystyle n=16;I_i>I_{i+1}

\displaystyle n=8;I_i>I_{i+1}

Correct answer:

\displaystyle n=16;I_i>I_{i+1}

Explanation:

The more points/intervals that are selected, the closer the Riemann sum approximation becomes to the actual integral value, so \displaystyle n=16 will give a closer approximation than \displaystyle n=8:

Reimannsumcomparison

Now, assuming the amount of points/intervals are fixed, but the actual widths can differ, it would be prudent to have narrower intervals at those regions where the graph is steepest. Relatively flatter regions of the function do not lead to the approximation overshooting or undershooting as much as the steeper areas, as can be seen in the above figure.

To determine how the widths of the intervals should change if they should, determine whether or not the function is getting steeper or flatter. The function will be getting steeper over an interval if the 1st and 2nd derivatives have the same sign over this interval.

The first derivative is the slope. The second derivative is the rate of change of the slope. If the rate of change has the same sign as the slope, it is pushing the absolute value of the slope away from 0. Since 0 indicates flatness, this means that the function is growing steeper. The opposite holds if the signs are opposite!

Consider then the function \displaystyle f(x)=2^{x^2-3x-4} and find its first derivative:

\displaystyle d(a^u)a=uln(a)du

\displaystyle f'(x)=(2x-3)2^{x^2-3x-4}ln(2)

The only way this function can be negative is if the term in the parentheses is negative, which occurs for \displaystyle x< 1.5. On the interval \displaystyle x=[2,4] the slope is therefore positive. Now, consider the second derivative:

\displaystyle d(uv)=udv+vdu

\displaystyle f''(x)=2^{x^2-3x-3}ln(2)+(2x-3)^22^{x^2-3x-4}ln^2(2)

Since the parenthetical term is squared, it will always be positive, and the second derivative will always be positive.

Both derivatives share the same sign, so the function is getting steeper.

The intervals should get progressively thinner.

Example Question #1141 : Calculus

Use the midpoint rule and \displaystyle n=4 to estimate the following integral:  \displaystyle \int_{0}^{4} e^x \:dx.  Round to four decimal places.

Possible Answers:

\displaystyle 54.5982

\displaystyle 52.3867

\displaystyle 52.4283

\displaystyle 53.5982

\displaystyle 51.4283

Correct answer:

\displaystyle 51.4283

Explanation:

Write the midpoint rule.

\displaystyle \int_{a}^{b} f(x)\:dx \approx \Delta x [f(x_1)+f(x_2)+...+f(x_n)]

where \displaystyle x_1, x_2 ... x_n are the midpoints of the intervals.

Determine \displaystyle \Delta x by the following formula.  This is the width of the subintervals.

\displaystyle \Delta x = \frac{b-a}{n} = \frac{4-0}{4} = 1

\displaystyle [0,1],[1,2],[2,3],[3,4]

Evaluate the function at each interval's midpoints and substitute them into the midpoint rule.  

\displaystyle f(0.5), f(1.5),f(2.5), f(3.5)

\displaystyle \int_{a}^{b} f(x)\:dx \approx(1) [f(0.5)+ f(1.5)+f(2.5)+ f(3.5)]

\displaystyle \int_{a}^{b} f(x)\:dx \approx(1) [e^{0.5}+e^{1.5}+e^{2.5}+e^{3.5}]

\displaystyle \int_{a}^{b} f(x)\:dx \approx [1.64872+4.481689+12.18249+33.11545]\approx 51.4283

Therefore:

\displaystyle \int_{0}^{4} e^x \:dx \approx 51.4283

Example Question #115 : Midpoint Riemann Sums

Using the method of midpoint Riemann sums, approximate the integral \displaystyle \int_{10}^{30} e^{\frac{1}{e^{x}}} using four midpoints.

Possible Answers:

\displaystyle 33.41

\displaystyle 4.05

\displaystyle 13.29

\displaystyle 20.00

\displaystyle 11.67

Correct answer:

\displaystyle 20.00

Explanation:

A Riemann sum integral approximation over an interval \displaystyle [a,b] with \displaystyle n subintervals follows the form:

\displaystyle \int_a^b f(x)dx \approx \frac{b-a}{n}(f(x_1)+f(x_2)+...+f(x_n))

It is essentially a sum of \displaystyle n rectangles each with a base of length \displaystyle \frac{b-a}{n} and variable heights \displaystyle f(x_i), which depend on the function value at a given point  \displaystyle x_i.

We're asked to approximate \displaystyle \int_{10}^{30} e^{\frac{1}{e^{x}}}

So the interval is \displaystyle [10,30], the subintervals have length \displaystyle \frac{30-10}{4}=5, and since we are using the midpoints of each interval, the x-values are \displaystyle [12.5,17.5,22.5,27.5]

\displaystyle \int_{10}^{30} e^{\frac{1}{e^{x}}}\approx (5)[e^{\frac{1}{e^{12.5}}}+e^{\frac{1}{e^{17.5}}}+e^{\frac{1}{e^{22.5}}}+e^{\frac{1}{e^{27.5}}}]

\displaystyle \int_{10}^{30} e^{\frac{1}{e^{x}}}\approx 20.00

Example Question #116 : Midpoint Riemann Sums

Using the method of midpoint Riemann sums, approximate \displaystyle \int_{-5}^{5} e^{\frac{1}{x+1}}dx using five midpoints.

Possible Answers:

\displaystyle 4.33

\displaystyle 12.84

\displaystyle 8.67

\displaystyle 6.42

\displaystyle Undefined.

Correct answer:

\displaystyle 12.84

Explanation:

A Riemann sum integral approximation over an interval \displaystyle [a,b] with \displaystyle n subintervals follows the form:

\displaystyle \int_a^b f(x)dx \approx \frac{b-a}{n}(f(x_1)+f(x_2)+...+f(x_n))

It is essentially a sum of \displaystyle n rectangles each with a base of length \displaystyle \frac{b-a}{n} and variable heights \displaystyle f(x_i), which depend on the function value at a given point  \displaystyle x_i.

We're asked to approximate \displaystyle \int_{-5}^{5} e^{\frac{1}{x+1}}dx

So the interval is \displaystyle [-5,5], the subintervals have length \displaystyle \frac{5-(-5)}{5}=2, and since we are using the midpoints of each interval, the x-values are \displaystyle [-4,-2,0,2,4]

\displaystyle \int_{-5}^{5} e^{\frac{1}{x+1}}dx \approx (2)[e^{\frac{1}{-4+1}}+e^{\frac{1}{-2+1}}+e^{\frac{1}{0+1}}+e^{\frac{1}{2+1}}+e^{\frac{1}{4+1}}]

\displaystyle \int_{-5}^{5} e^{\frac{1}{x+1}}dx \approx 12.84

Example Question #117 : Midpoint Riemann Sums

Using the method of midpoint Riemann sums, approximate \displaystyle \int_{0.02}^{0.08} 13^{\sqrt[3]{x}}dx using three midpoints.

Possible Answers:

\displaystyle 6.55

\displaystyle 0.019

\displaystyle 0.131

\displaystyle 7.67

\displaystyle 0.153

Correct answer:

\displaystyle 0.153

Explanation:

A Riemann sum integral approximation over an interval \displaystyle [a,b] with \displaystyle n subintervals follows the form:

\displaystyle \int_a^b f(x)dx \approx \frac{b-a}{n}(f(x_1)+f(x_2)+...+f(x_n))

It is essentially a sum of \displaystyle n rectangles each with a base of length \displaystyle \frac{b-a}{n} and variable heights \displaystyle f(x_i), which depend on the function value at a given point  \displaystyle x_i.

We're asked to approximate \displaystyle \int_{0.02}^{0.08} 13^{\sqrt[3]{x}}dx

So the interval is \displaystyle [0.02,0.08], the subintervals have length \displaystyle \frac{0.08-0.02}{3}=0.02, and since we are using the midpoints of each interval, the x-values are \displaystyle [0.03,0.05,0.07]

\displaystyle \int_{0.02}^{0.08} 13^{\sqrt[3]{x}}dx \approx (0.02)[13^{\sqrt[3]{0.03}}+13^{\sqrt[3]{0.05}}+13^{\sqrt[3]{0.07}}]

\displaystyle \int_{0.02}^{0.08} 13^{\sqrt[3]{x}}dx \approx 0.153

 

Example Question #118 : Midpoint Riemann Sums

Using the method of midpoint Riemann sums, approximate \displaystyle \int_{-0.01}^{0.15} 123^{\sqrt{x}}dx using four midpoints.

Possible Answers:

\displaystyle 0.032

\displaystyle 0.015

\displaystyle 1.972

\displaystyle 0.578

\displaystyle 0.881

Correct answer:

\displaystyle 0.578

Explanation:

A Riemann sum integral approximation over an interval \displaystyle [a,b] with \displaystyle n subintervals follows the form:

\displaystyle \int_a^b f(x)dx \approx \frac{b-a}{n}(f(x_1)+f(x_2)+...+f(x_n))

It is essentially a sum of \displaystyle n rectangles each with a base of length \displaystyle \frac{b-a}{n} and variable heights \displaystyle f(x_i), which depend on the function value at a given point  \displaystyle x_i.

We're asked to approximate \displaystyle \int_{-0.01}^{0.15} 123^{\sqrt{x}}dx

So the interval is \displaystyle [-0.01,0.15], the subintervals have length \displaystyle \frac{0.15-(-0.01)}{4}=0.04, and since we are using the midpoints of each interval, the x-values are \displaystyle [0.01,0.05,0.09,0.13]

\displaystyle \int_{-0.01}^{0.15} 123^{\sqrt{x}}dx \approx (0.04)[123^{\sqrt{0.01}}+123^{\sqrt{0.05}}+123^{\sqrt{0.09}}+123^{\sqrt{0.13}}]

\displaystyle \int_{-0.01}^{0.15} 123^{\sqrt{x}}dx \approx 0.578

Example Question #119 : Midpoint Riemann Sums

Using the method of midpoint Riemann sums, approximate \displaystyle \int_{0.9}^{1.5} 3^{x^2-x+4}dx using three midpoints.

Possible Answers:

\displaystyle 54.18

\displaystyle 67.26

\displaystyle 97.12

\displaystyle 83.90

\displaystyle 143.39

Correct answer:

\displaystyle 67.26

Explanation:

A Riemann sum integral approximation over an interval \displaystyle [a,b] with \displaystyle n subintervals follows the form:

\displaystyle \int_a^b f(x)dx \approx \frac{b-a}{n}(f(x_1)+f(x_2)+...+f(x_n))

It is essentially a sum of \displaystyle n rectangles each with a base of length \displaystyle \frac{b-a}{n} and variable heights \displaystyle f(x_i), which depend on the function value at a given point  \displaystyle x_i.

We're asked to approximate \displaystyle \int_{0.9}^{1.5} 3^{x^2-x+4}dx

So the interval is \displaystyle [0.9,1.5], the subintervals have length \displaystyle \frac{1.5-0.9}{3}=0.2, and since we are using the midpoints of each interval, the x-values are \displaystyle [1,1.2,1.4]

\displaystyle \int_{0.9}^{1.5} 3^{x^2-x+4}dx \approx (0.2)[3^{1^2-1+4}+3^{1.2^2-1.2+4}+3^{1.4^2-1.4+4}]

\displaystyle \int_{0.9}^{1.5} 3^{x^2-x+4}dx \approx 67.26

Example Question #120 : Midpoint Riemann Sums

Using the method of midpoint Riemann sums, approximate \displaystyle \int_{0.3}^{0.57} \frac{x^2+x}{x^3-x}dx using two midpoints.

Possible Answers:

\displaystyle -0.184

\displaystyle -0.559

\displaystyle -0.397

\displaystyle -0.211

\displaystyle -0.485

Correct answer:

\displaystyle -0.485

Explanation:

A Riemann sum integral approximation over an interval \displaystyle [a,b] with \displaystyle n subintervals follows the form:

\displaystyle \int_a^b f(x)dx \approx \frac{b-a}{n}(f(x_1)+f(x_2)+...+f(x_n))

It is essentially a sum of \displaystyle n rectangles each with a base of length \displaystyle \frac{b-a}{n} and variable heights \displaystyle f(x_i), which depend on the function value at a given point  \displaystyle x_i.

We're asked to approximate \displaystyle \int_{0.3}^{0.57} \frac{x^2+x}{x^3-x}dx

So the interval is \displaystyle [0.3,0.57], the subintervals have length \displaystyle \frac{0.57-0.3}{2}=0.135, and since we are using the midpoints of each interval, the x-values are \displaystyle [0.3675, 0.5025]

\displaystyle \int_{0.3}^{0.57} \frac{x^2+x}{x^3-x}dx \approx (0.135)[\frac{0.3675^2+0.3675}{0.3675^3-0.3675}+\frac{0.5025^2+0.5025}{0.5025^3-0.5025}]\displaystyle \int_{0.3}^{0.57} \frac{x^2+x}{x^3-x}dx \approx -0.485

Learning Tools by Varsity Tutors