# Mathematica vs Alpha output in Laplace transformation?

**URL:** <https://community.wolfram.com/t/mathematica-vs-alpha-output-in-laplace-transformation/18573>\
**Category:** Questions\
**Tags:** mathematica, wolfram-alpha, algebra\
**Created:** [July 20, 2021, 4:02pm UTC](https://community.wolfram.com/t/mathematica-vs-alpha-output-in-laplace-transformation/18573 "2021-07-20T16:02:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tedbar](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@tedbar](https://community.wolfram.com/u/tedbar)\
**Post date:** [July 20, 2021, 4:02pm UTC](https://community.wolfram.com/t/mathematica-vs-alpha-output-in-laplace-transformation/18573/1 "2021-07-20T16:02:29Z")

</div>

I am learning my way around Mathematica. Using simple problems with known solutions I find that the output from Mathematica (V10) and alpha sometimes differ in the way they are presented, or rather Alpha provides more options.

For example computing the Laplace Transform, in Mathematica, of

```
LaplaceTransform[t^2 UnitStep[t - a], t, s]

```

yields

```
(E^(-a s) (2 E^(a s) UnitStep[-a] + 2 UnitStep[a] + 
   2 a s UnitStep[a] + a^2 s^2 UnitStep[a]))/s^3

```

while using Alpha returns alternate forms, including

![Screenshotfrom2021-07-2017-59-57.png](https://global.discourse-cdn.com/wolfram/original/2X/9/990dbe760f8dcb3fc40195119403298184d37211.png)

How do I get Mathematica to output the alternate forms?

---

<div class="post-metadata">

**Author:** ![henrikschachner](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/henrikschachner/32/32119_2.png) [@henrikschachner](https://community.wolfram.com/u/henrikschachner)\
**Post date:** [July 20, 2021, 8:59pm UTC](https://community.wolfram.com/t/mathematica-vs-alpha-output-in-laplace-transformation/18573/2 "2021-07-20T20:59:52Z")

</div>

As it seems Wolfram|Alpha is assuming `a>0`. Try e.g.:

```
ltf = LaplaceTransform[t^2 UnitStep[t - a], t, s];
Refine[ltf, a > 0]
PiecewiseExpand[ltf]

```

---

<div class="post-metadata">

**Author:** ![tedbar](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@tedbar](https://community.wolfram.com/u/tedbar)\
**Post date:** [July 21, 2021, 5:47am UTC](https://community.wolfram.com/t/mathematica-vs-alpha-output-in-laplace-transformation/18573/3 "2021-07-21T05:47:46Z")

</div>

Thanks. Refine works as hoped for. Using Expand, rather than PiecewiseExpand yields the same result.
