Solving Piecewise Integral: Help for Newbie Bailey

  • Thread starter MrBailey
  • Start date
  • Tags
    Integral
In summary, Bailey has a function F(x) that they want to integrate over the interval [0,x], but they are unsure of how to do it correctly. The first piece of the function is integrated correctly, but the second and third pieces need to be integrated over [1,x] and [2,x] respectively. The resulting plot will have discontinuities at x=1 and x=2. Bailey wants to confirm if their graph is correct.
  • #1
MrBailey
19
0
Hi from a newbie.

I have an apparently simple problem, but could use some guidance on how to do it.

I have the following function:

[tex]F(x)=\int^{x}_{0}f(t)dt,\ 0\leq x\leq3[/tex]

where [tex]f(x)=\left\{\begin{array}{lll}1,&\mbox{ if }0\leq x<1\\2-x,&\mbox{ if }1\leq x<2\\0,&\mbox{ if }2\leq x\leq 3\end{array}\right[/tex]

Is it as simple as:

[tex]F(x)=\left\{\begin{array}{lll}x,&\mbox{ if }0\leq x<1\\2x-\frac{x^2}{2},&\mbox{ if }1\leq x<2\\0,&\mbox{ if }2\leq x\leq 3\end{array}\right[/tex]

A plot of F(x) for the interval would show discontinuities at x=1 and x=2.

Thanks for your help.

Bailey
 
Physics news on Phys.org
  • #2
MrBailey said:
Is it as simple as:

[tex]F(x)=\left\{\begin{array}{lll}x,&\mbox{ if }0\leq x<1\\2x-\frac{x^2}{2},&\mbox{ if }1\leq x<2\\0,&\mbox{ if }2\leq x\leq 3\end{array}\right[/tex]

No, it's a little more complicated than that. For instace when you integrated over the second interval you treated it as follows:

[tex]\int_0^x(2-x)dx[/tex]

However, [itex]F(x)[/itex] is not defined as [itex]2-x[/itex] for [itex]0\leq x<1[/itex], so it is not correct to start integrating that piece of the function at [itex]x=0[/itex]. There is a similar problem with the third interval.
 
  • #3
Okay...I can see I'm way off.

What would be the proper steps to take to find F(x) knowing the integral is from 0 to x?

Thanks for helping.

Bailey
 
  • #4
The integral of your first piece is OK. You want to integrate it on the interval [0,x].

But your second and third pieces need to be integrated over [1,x] and [2,x], respectively.
 
Last edited:
  • #5
Actually, the third piece is OK too, but only because it is zero.
 
  • #6
So, integrating for each piece over the respective intervals would yield a plot like the one attached, for 0 <= x <= 3.

Is that correct, with the discontinuities at x = 1 and x = 2?
 

Attachments

  • plot.JPG
    plot.JPG
    6.7 KB · Views: 424
  • #7
Good morning all.

Just want to find out if the graph above is correct.

Bailey
 

1. What is a piecewise integral?

A piecewise integral is an integral that is broken up into multiple smaller integrals, each with its own specific interval or range of values. This is typically done when the function being integrated has different behaviors or characteristics within different intervals.

2. How do I solve a piecewise integral?

To solve a piecewise integral, you will need to break it up into smaller integrals based on the intervals given. Then, you can use the appropriate integration techniques for each interval to find the answer. Finally, you can add all the smaller integrals together to get the overall solution.

3. What are some common integration techniques used for piecewise integrals?

Some common integration techniques used for piecewise integrals include substitution, integration by parts, and trigonometric substitution. It is important to identify which technique is most suitable for each individual integral within the piecewise function.

4. Can I use a calculator to solve a piecewise integral?

While some calculators may have the capability to solve piecewise integrals, it is important to understand the concepts and techniques behind solving them by hand. This will not only help with understanding the problem, but also with checking the accuracy of calculator solutions.

5. Are there any tips for solving piecewise integrals more efficiently?

One tip for solving piecewise integrals more efficiently is to carefully analyze the function and its intervals to determine the most appropriate integration technique. It may also be helpful to break up the intervals into smaller, more manageable pieces to make the overall integration process easier.

Similar threads

  • Calculus and Beyond Homework Help
Replies
9
Views
989
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
596
  • Calculus and Beyond Homework Help
Replies
4
Views
300
  • Calculus and Beyond Homework Help
Replies
26
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
956
  • Calculus and Beyond Homework Help
Replies
4
Views
814
  • Calculus and Beyond Homework Help
Replies
1
Views
249
  • Calculus and Beyond Homework Help
Replies
27
Views
2K
Back
Top